home *** CD-ROM | disk | FTP | other *** search
- Path: utpapa.ph.utexas.edu!tian
- From: tian@utpapa.ph.utexas.edu (Shiyang Tian)
- Newsgroups: comp.lang.c++
- Subject: How to make C++2LaTeX 3.0 work?
- Date: 2 Feb 1996 17:28:45 GMT
- Organization: Physics Department, University of Texas at Austin
- Message-ID: <4ethkd$505@geraldo.cc.utexas.edu>
- NNTP-Posting-Host: utpapa.ph.utexas.edu
-
- Hi,
-
- I am trying to install "C++2LaTeX 3.0" on my IBM RS/6000 computer.
- But I got stuck because "flex 2.5.2" doesn't know the rules in
- "c++2latex.l" and "objc2latex.l". I don't know anything about flex.
- Please help!
-
- Here is the error message I got:
- $ flex c++2latex.l
- "c++2latex.l", line 191: unrecognized rule
- $ flex objc2latex.l
- "objc2latex.l", line 173: unrecognized rule
-
- Lines 191-195 in "c++2latex.l" read: (I add the line number. Line 173 in
- "objc2latex.l" is the same as line 191 in "c++2latex.l".)
-
- /* 2. Double slash ``//'' comments mini scanner */ /* line 189 */
- /* 2.1. Curly brace comment */ /* line 190 */
- }[ \t]*"//" { BEGIN (SLASHCOMMENT); /* line 191 */
- OUT ("\\}"); /* line 192 */
- BTAB; /* line 193 */
- FONT (comment_font); /* line 194 */
- OUT ("//");} /* line 195 */
-
- Is there anything wrong with this rule or is it a bug in "flex 2.5.2"?
-
- Thank you very much!
-
- -- Tian
-
-
-